
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class Rule extends org.xteam.parser.runtime.AstNode {
	
	
	protected Ident className;
	protected BoxSpec boxspec;
	
	public Rule(Span span, Ident className,BoxSpec boxspec) {
		super(span);
		this.className = className;
		this.boxspec = boxspec;
	}
	
	
	public Ident getClassName() {
		return className;
	}
	
	public void setClassName(Ident className) {
		this.className = className;
	}
	
	public BoxSpec getBoxspec() {
		return boxspec;
	}
	
	public void setBoxspec(BoxSpec boxspec) {
		this.boxspec = boxspec;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitRule(this);
	}
}
